<div class="input_form">

<?php
	echo form_open('sdm/cuti/process_add');
?>

<table class="table" style="width:auto">
<tr>
	<td class="th">NIP</td>
	<td valign="top"><?php echo form_input("nip_sdm_pegawai", $this->session->userdata('user'))?></td>
</tr>
<tr>
	<td class="th">From</td><td valign="top">
	<?php 
	$data = array(
              'name'        => 'd_aw_takhadir',
              'id'          => 'd_aw_takhadir',
              'value'       => $d_aw_takhadir,
              'maxlength'   => '15',
              'size'        => '10'
            );
	echo form_input($data)?>
	</td>
</tr>
<tr>
	<td class="th">Until</td><td valign="top"><?php echo form_input("datetime_tanggal_log")?></td> 
</tr>
<tr>
	<td class="th">Alasan</td><td valign="top"><?php echo form_textarea("alasan")?></td>
</tr>
<tr>
	<td align="center" colspan="2"><input type="submit" name="__submit_save" value="Save"></td>
</tr>
</table>

<?=form_close(); ?>
<script type="text/javascript">
	jQuery(function() {
		jQuery('#d_aw_takhadir').datepicker({
			duration: '',
			showTime: false,
			time24h: true,
			dateFormat: "yy-mm-dd",
			constrainInput: false
		 });
	});
</script>